package com.graduate.after.bean;

public class OrderLineInfo {

    private Long id;

    private Long orderId;

    private Long iid;

    private Double totalPrice;

    private Integer num;

    public OrderLineInfo() {
    }

    public OrderLineInfo(Long id, Long orderId, Long iid, Double totalPrice, Integer num) {
        this.id = id;
        this.orderId = orderId;
        this.iid = iid;
        this.totalPrice = totalPrice;
        this.num = num;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getIid() {
        return iid;
    }

    public void setIid(Long iid) {
        this.iid = iid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "OrderLineInfo{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", iid=" + iid +
                ", totalPrice=" + totalPrice +
                ", num=" + num +
                '}';
    }
}
